import request from '@/utils/request'

export function list(data) {
  return request({
    url: '/sales/progress/list',
    method: 'post',
    data: data
  })
}
export function listByMonth(data) {
  return request({
    url: '/sales/progress/listByMonth',
    method: 'post',
    data: data
  })
}
export function listVisitByDay(data) {
  return request({
    url: '/sales/progress/listVisitByDay',
    method: 'post',
    data: data
  })
}
export function add(data) {
  return request({
    url: '/sales/progress/add',
    method: 'post',
    data: data
  })
}
export function edit(data) {
  return request({
    url: '/sales/progress/edit',
    method: 'post',
    data: data
  })
}
export function remove(data) {
  return request({
    url: '/sales/progress/delete',
    method: 'post',
    data: data
  })
}
export function getInfo(data) {
  return request({
    url: '/sales/progress/' + data,
    method: 'get'
  })
}

